import requests
import os


if(not os.path.exists(".\\img")):
    os.mkdir(".\\img")

for i in range(1, 99):
    url = "https://meiriyiwen.com/images/new_feed/bg_%d.jpg" % i
    print("正在爬取第%d张图片" % i)
    response = requests.get(url)
    file = open(".\\img\\%d.jpg" % i, "wb")
    file.write(response.content)
    file.close()
